//
//  BPImageTool.h
//  BeautyPicture
//
//  Created by 沈振邦 on 15/11/4.
//  Copyright © 2015年 szb. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MBProgressHUD+MJ.h"
#import "BPProductPopUpImage.h"

@interface BPImageTool : NSObject{
    NSFileManager *_fileManger;
    NSString *_cachePath;
}

/** 加载一张普通网络图片*/
+ (void)setUpUIImageView:(UIImageView *)imageview addNsstringUrl:(NSString *)url;
/** 加载一张高清网络图片*/
+ (void)setUpHDImageView:(UIImageView *)imageView addNsstringUrl:(NSString *)url;

+ (void)shadingThumb:(UIImageView *)imageView withUrl:(NSString *)url;

+ (void)addAdiskImageView:(UIImageView *)imageView addimagePath:(NSString *)pathUrl;

+ (UIImage *)backmodelImage:(NSString *)url;

+ (void)setTopImage:(UIImageView *)imageview addUrl:(NSString *)url;

- (void)loadProcessImage:(NSString *)imageStr withVC:(UIViewController *)controller addPopView:(BPProductPopUpImage *)popView;


// 加载底纹图片
+ (UIImage  *)getNSStringURL:(NSString *)url  setImageView :(UIImageView * ) imageview;

@end
